# -*-coding:utf-8 -*-
# File  : agentListExport_api.py
# Time  ：2021/11/25 9:57
# Author：author name

from api.manage.manage_base import ManageBase


class AgentListExportApi(ManageBase):
    def __init__(self, start_date="", end_date="", agent_name="", status="", sale_province="", sale_city=""):
        """
        渠道商列表数据导出接口
        :param start_date:
        :param end_date:
        :param agent_name:
        :param status:
        :param sale_province:
        :param sale_city:
        """
        super().__init__()
        self.url = self.host + "cloudlottery-manage/agent/exportAgentBill"
        self.json = {"startDate": start_date, "endDate": end_date, "agentName": agent_name, "status": status,
                     "operatorId": "", "saleProvince": sale_province, "saleCity": sale_city}
        self.method = "post"
